@layout("/common/_container.html",{js:["/assets/kh/khWare/khWare_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="khWareForm" lay-filter="khWareForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">所属波次<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="waveNum" name="waveNum"  lay-filter="waveNum" lay-search lay-creatable lay-verify="required" required>
                            <option value="">请选择波次</option>
                            @for(item in waveNumList!){
                            <option value="${item.code}">${item.name}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">收货客户<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="getUnitId" name="getUnitId"  lay-filter="getUnitId" lay-search lay-creatable lay-verify="required" required>
                            <option value="">请输入收货客户</option>
                            @for(item in putgoodsList!){
                            <option value="${item.id}">${item.putgoodsName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">收货客户序号<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="getUnitSort" name="getUnitSort" placeholder="请输入收货客户序号" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">播种位<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="toLocation" name="toLocation" placeholder="请输入播种位" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">集货位<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="stockPort" name="stockPort" placeholder="请输入集货位" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}